package com.ruoyi.ums.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 用户地址
 * </p>
 *
 * @author kenny
 * @since 2021-11-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("ums_member_address")
public class MemberAddress implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Long id;
    /**
     * 用户id
     */
    private Long memberId;
    /**
     * 收货人
     */
    private String name;

    /**
     * 省
     */
    private String province;

    /**
     * 市
     */
    private String city;

    /**
     * 区
     */
    private String area;

    /**
     * 详细地址
     */
    private String address;

    /**
     * 联系电话
     */
    private String mobile;

    private Integer isDefault;

    private LocalDateTime createTime;

    private String createFrom;

    private LocalDateTime updateTime;

    private LocalDateTime updateFrom;


}
